package com.v1.video.domain;

import android.os.Parcel;
import android.os.Parcelable;

import com.v1.video.option.db.SetMessageCommentInfo;

public class SettingMessageInfo implements Parcelable {
	private String videoId = "";
	private String commentsId = "";
	private String comments;
	private String createTime;
	private String userId;
	private String userName = "";
	private String userImg = "";// 相对路径，使用时需要增加全局的网址
	private String replyUserId;
	private String replyUserName;
	private String praiseCont;
	private String video_url;
	private String title;
	private String img_url;
	private String detail;
	public String href = ""; // 新闻的视频详情页的链接
	public String stype = ""; // 0表示新闻的视频1表示拍客的视频
	public String sex = "";
	// private String userId;
	private String focusUserId;
	private String focusUserName;
	private String focusUserImg = "";
	private String focusUserSex;
	private String details;
	public int type = 0;// 0表示评论1表示关注本字段，服务器不下发，本地根据数据判断赋值；2,3,4,5,6,7,8
	// private String createTime;
	/** 状态 ：0未读，1已读 */
	private int state = 0;
	/** 圈主的通过与忽略 */
	private String groupState = "";
	/**
	 * 1评论消息 2关注消息 3取消关注消息 4@我的消息 5 圈子申请消息 6 圈子邀请消息 7 圈子删除消息 8 圈子退出消息 9 圈子审核通过消息
	 * 10 圈子置为私密圈消息 11 圈子置为公开圈消息 12 圈子解散消息
	 */
	private String messageType = "";
	private String groupId = "";
	private String groupName = "";
	private String messageId = "";
	private String fromUserId = "";
	private String toUserId = "";
	private String fromUserName = "";
	private String fromUserImg = "";
	private String messageDetails = "";
	private String messageVideoId = "";
	private String messageVideoImgUrl = "";
	private String messageVideoUrl = "";
	private String userType;
	private String messageStatus;

	private String isCertification;
	public SettingMessageInfo() {

	}

	public SettingMessageInfo(SetMessageCommentInfo commInfo) {
		this.videoId = commInfo.videoId;
		this.commentsId = commInfo.commentsId;
		this.comments = commInfo.comments;
		this.createTime = commInfo.createTime;
		this.userId = commInfo.userId;
		this.userName = commInfo.userName;
		this.userImg = commInfo.userImg;
		this.replyUserId = commInfo.replyUserId;
		this.replyUserName = commInfo.replyUserName;
		this.praiseCont = commInfo.praiseCont;
		this.video_url = commInfo.video_url;
		this.title = commInfo.title;
		this.detail = commInfo.detail;
		this.img_url = commInfo.img_url;
		this.details = commInfo.details;
		this.state = commInfo.state;
		this.href = commInfo.href;
		this.stype = commInfo.stype;
		this.sex = commInfo.sex;
		this.focusUserSex = commInfo.focusUserSex;
		this.type = commInfo.type;
		this.focusUserId = commInfo.focusUserId;
		this.focusUserName = commInfo.focusUserName;
		this.focusUserImg = commInfo.focusUserImg;
		if (type != 0 && type != 1) {
			this.groupId = commInfo.focusUserId;
			this.groupName = commInfo.focusUserName;
			this.groupState = commInfo.focusUserImg;
		}
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getFocusUserId() {
		return focusUserId;
	}

	public void setFocusUserId(String focusUserId) {
		this.focusUserId = focusUserId;
	}

	public String getFocusUserName() {
		return focusUserName;
	}

	public void setFocusUserName(String focusUserName) {
		this.focusUserName = focusUserName;
	}

	public String getFocusUserImg() {
		return focusUserImg;
	}

	public void setFocusUserImg(String focusUserImg) {
		this.focusUserImg = focusUserImg;
	}

	public String getDetails() {
		return details;
	}

	public void setDetails(String details) {
		this.details = details;
	}

	public String getVideoId() {
		return videoId;
	}

	public void setVideoId(String videoId) {
		this.videoId = videoId;
	}

	public String getCommentsId() {
		return commentsId;
	}

	public void setCommentsId(String commentsId) {
		this.commentsId = commentsId;
	}

	public String getComments() {
		return comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserImg() {
		return userImg;
	}

	public void setUserImg(String userImg) {
		this.userImg = userImg;
	}

	public String getReplyUserId() {
		return replyUserId;
	}

	public void setReplyUserId(String replyUserId) {
		this.replyUserId = replyUserId;
	}

	public String getReplyUserName() {
		return replyUserName;
	}

	public void setReplyUserName(String replyUserName) {
		this.replyUserName = replyUserName;
	}

	public String getPraiseCont() {
		return praiseCont;
	}

	public void setPraiseCont(String praiseCont) {
		this.praiseCont = praiseCont;
	}

	public String getVideo_url() {
		return video_url;
	}

	public void setVideo_url(String video_url) {
		this.video_url = video_url;
	}

	public String getTitle() {
		return title;
	}

	public String getIsCertification() {
		return isCertification;
	}

	public void setIsCertification(String isCertification) {
		this.isCertification = isCertification;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getImg_url() {
		return img_url;
	}

	public void setImg_url(String img_url) {
		this.img_url = img_url;
	}

	public String getDetail() {
		return detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	public String getHref() {
		return href;
	}

	public void setHref(String href) {
		this.href = href;
	}

	public String getStype() {
		return stype;
	}

	public void setStype(String stype) {
		this.stype = stype;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getFocusUserSex() {
		return focusUserSex;
	}

	public void setFocusUserSex(String focusUserSex) {
		this.focusUserSex = focusUserSex;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	@Override
	public int describeContents() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public void writeToParcel(Parcel arg0, int arg1) {
		// TODO Auto-generated method stub
	}

	public String getMessageType() {
		return messageType;
	}

	public void setMessageType(String messageType) {
		this.messageType = messageType;
	}

	public String getGroupId() {
		return groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public String getMessageId() {
		return messageId;
	}

	public void setMessageId(String messageId) {
		this.messageId = messageId;
	}

	public String getFromUserId() {
		return fromUserId;
	}

	public void setFromUserId(String fromUserId) {
		this.fromUserId = fromUserId;
	}

	public String getToUserId() {
		return toUserId;
	}

	public void setToUserId(String toUserId) {
		this.toUserId = toUserId;
	}

	public String getFromUserName() {
		return fromUserName;
	}

	public void setFromUserName(String fromUserName) {
		this.fromUserName = fromUserName;
	}

	public String getFromUserImg() {
		return fromUserImg;
	}

	public void setFromUserImg(String fromUserImg) {
		this.fromUserImg = fromUserImg;
	}

	public String getMessageDetails() {
		return messageDetails;
	}

	public void setMessageDetails(String messageDetails) {
		this.messageDetails = messageDetails;
	}

	public String getMessageVideoId() {
		return messageVideoId;
	}

	public void setMessageVideoId(String messageVideoId) {
		this.messageVideoId = messageVideoId;
	}

	public String getMessageVideoImgUrl() {
		return messageVideoImgUrl;
	}

	public void setMessageVideoImgUrl(String messageVideoImgUrl) {
		this.messageVideoImgUrl = messageVideoImgUrl;
	}

	public String getMessageVideoUrl() {
		return messageVideoUrl;
	}

	public void setMessageVideoUrl(String messageVideoUrl) {
		this.messageVideoUrl = messageVideoUrl;
	}

	public String getGroupState() {
		return groupState;
	}

	public void setGroupState(String groupState) {
		this.groupState = groupState;
	}

	public String getUserType() {
		return userType;
	}

	public void setUserType(String userType) {
		this.userType = userType;
	}

	public String getMessageStatus() {
		return messageStatus;
	}

	public void setMessageStatus(String messageStatus) {
		this.messageStatus = messageStatus;
	}
}
